package com.arpa.ntocc.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户角色
 * </p>
 *
 * @author LEO
 * @since 2019-08-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_party_role")
public class PartyRole extends BasicEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户角色标识
     */
    @TableField("code")
    private String code;
    /**
     * 用户标识
     */
    @TableField("party_code")
    private String partyCode;

    /**
     * 角色标识
     */
    @TableField("role_code")
    private String roleCode;

}
